﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MessageHandlingServer.Client
{
    class IntMessage : IMessage
    {
        int _value;

        public IntMessage(int value)
        {
            _value = value;
        }

        public decimal GetValue()
        {
            return _value;
        }

        public string ToText()
        {
            return _value.ToString();
        }
    }
}
